.todo-app {
    max-width: 500px;
    margin: 20px;
    font-family: sans-serif;
}
.todo-header {
    margin-bottom: 20px;
}
.todo-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.todo-input {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--input-bg);
    color: var(--text-color);
}
.todo-button {
    padding: 8px 16px;
    background: var(--button-bg);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    cursor: pointer;
}
.todo-button:hover {
    background: var(--button-hover-bg);
}
.todo-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.todo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--block-bg);
}
.todo-item.completed {
    opacity: 0.7;
}
.todo-item.completed .todo-text {
    text-decoration: line-through;
}
.todo-text {
    flex: 1;
}
.todo-checkbox {
    width: 16px;
    height: 16px;
}
.todo-delete {
    color: var(--error-color);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}
.todo-delete:hover {
    background: var(--error-bg);
}
